package com.malethan.seemorej.taglib.elements;

/**
 * @author Elwyn Malethan
 */
public class Upload extends BaseInputElement {
    //----------------------------------------------------------------------- Static Properties and Constants
    //----------------------------------------------------------------------- Static Methods
    //----------------------------------------------------------------------- Instance Properties

    String size;
    String maxlength;

    //----------------------------------------------------------------------- Constructors

    public Upload() {
        super("file");
    }

    //----------------------------------------------------------------------- Getters and Setters

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getMaxlength() {
        return maxlength;
    }

    public void setMaxlength(String maxlength) {
        this.maxlength = maxlength;
    }

    //----------------------------------------------------------------------- Instance Methods

    public String[] getAttributes() {
        return new String[] {"size", "maxlength"};
    }
}
